Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@ryanbehdad
ryanbehdad / venv.md
Last active July 3, 2026 22:37
Python venv cheat sheet

Python venv virtual environment cheat sheet

Create a venv

To create a virtual environment, go to the root of your project and run

python -m venv venv

It will create a virtual environment called venv

Activate venv

.\venv\Scripts\activate

@cjlawson02
cjlawson02 / README.md
Last active July 3, 2026 22:34
Repurposing an Android Digital Photo Frame as a Home Assistant Dashboard

Repurposing an Android Digital Photo Frame as a Home Assistant Dashboard

This project is a simple way to repurpose a digital photo frame as a Home Assistant dashboard. The idea is to have a device that is always on and always connected to the Home Assistant server, so you can have a quick look at the status of your home automation system.

Results

Here's a photo of the Nexfoto frame running Fully Kiosk Browser with Home Assistant:

Nexfoto frame running Fully Kiosk Browser with Home Assistant

ClawBox Kaufberatung: Dein eigener KI-Assistent für €549

Letzte Aktualisierung: März 2026

Warum ein eigener KI-Server auf dem Schreibtisch?

Du zahlst €20/Monat für ChatGPT Plus. Du nutzt vielleicht Alexa oder Siri. Aber:

  • Deine Gespräche, E-Mails und Daten landen auf fremden Servern
  • Du musst jede App einzeln öffnen und manuell bedienen
  • Wenn du den Laptop zumachst, ist dein Assistent weg
@joncardasis
joncardasis / Storing-Images-On-Github.md
Last active July 3, 2026 22:28
Storing Images and Demos in your Repo

Storing Images and Demos in your Repo

In this quick walkthough you'll learn how to create a separate branch in your repo to house your screenshots and demo gifs for use in your master's readme.

How to

1. Clone a fresh copy of your repo

In order to prevent any loss of work it is best to clone the repo in a separate location to complete this task.

2. Create a new branch

Create a new branch in your repo by using git checkout --orphan assets

name explain-diff-html
description Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output.

Explain Diff

Please make me a rich, interactive explanation of the specified code change.

It should have these sections: